package com.example.qxfw.mongodb.hy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/************************************
 *
 * @author : HuangDeYin Jolly
 * @since : JDK 11
 * @Date : 2023/7/11  星期二   9:45
 * @description : 此类用来
 ***************************************/
@Data
@Document(collection = "txt_file")
public class HyTxtFile implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String _id;

    private byte[] data;

    @Field("id")
    private String id;

    private String tableName;

    private String name;


}
